package com.xjh.basestudy.javabase.classandinterface.AbstractClass1;

public class Cat extends Animal{
    //继承抽象类,重写方法
    @Override
    public void eat() {
        System.out.println("猫吃鱼");
    }
}
